package edu.service;


import edu.dao.RoleDAO;
import edu.model.Role;


public class RoleService {
	
	private int roleId;
	private RoleDAO roleDAO = null;

	public int getRoleId() {
		return roleId;
	}
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}
	public RoleDAO getRoleDAO() {
		return roleDAO;
	}
	public void setRoleDAO(RoleDAO roleDAO) {
		this.roleDAO = roleDAO;
	}
		
	public Role getRoleById(int roleId){
		return roleDAO.findById(roleId);
	}
}